package com.chaochis.wind.config.web_config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "wind.security")
public class SecurityProperties {
  private boolean enable = true; //是否开启权限过滤
  private List<String> handler = new ArrayList<>(); // 要使用的拦截器名字
}
